﻿#region Usings
using System.Collections.Generic;

using BK.Model;
#endregion

namespace BK.BlusinessLogic
{
    public interface IGeneralBl<TEntity> where TEntity : BaseBkEntity
    {
        #region Instance Methods
        IEnumerable<TEntity> GetByUserId(int userId);
        TEntity GetById(int id);
        void Save(TEntity entity);
        void Delete(int id);
        #endregion
    }
}